home *** CD-ROM | disk | FTP | other *** search
- Path: ts36-11.tor.inforamp.net!user
- From: scrutnzr@inforamp.net (Jim May)
- Newsgroups: comp.sys.amiga.emulations
- Subject: Re: Possible reasons for slowness of Netscape with SS?
- Date: 3 Mar 1996 08:53:21 GMT
- Organization: M.O.R.E. (Men Of Reason -- Everywhere!)
- Message-ID: <scrutnzr-0303960358250001@ts36-11.tor.inforamp.net>
- References: <5rravi5btb.fsf@ritz.mordor.com>
- NNTP-Posting-Host: ts36-11.tor.inforamp.net
- X-Newsreader: Yet Another NewsWatcher 2.1.5
-
- In article <5rravi5btb.fsf@ritz.mordor.com>, benjamin@ritz.mordor.com
- (Joseph Thomas) wrote:
-
- > My setup: A1200, 1230XA (50mhz 68030) + 16 megs fast, No SS keyfile
- > yet (currently using the AddBuffers trick)
- >
- > MacPPP starts up fine with a 28.8 connection (MacTCP serial port
- > setting is at 28.8; I tried 57.6 at someone's suggestion, but my
- > connect script stopped working).
- >
- > When I start up Netscape, it takes about 50 seconds to fully get the
- > Netscape homepage (which, with on the same machine, mlink/Amosaic gets
- > it in about 10).
- >
- > I would have thought that this would be the one exception to the
- > slowness problem due to an emulated OS; that my modem, with its 28.8
- > connection, would transfer information mostly independent of my
- > A1200.
- >
- > By mostly, I mean that the actual downloading part would happen as
- > fast as my modem could handle it, but it still needs to send the data
- > through my serial port, which needs to be read using cycles of my
- > A1200's CPU. Of course, this is just my speculation; I don't know if
- > this is actually how it works (that's why I'm posting this ;) )
-
- All 14.4 and 28.8 modems have onboard compression; that is why you MUST
- set the speed of the serial link from computer to modem at a speed that is
- AT LEAST twice that of the rated phone line speed (i.e. the 14.4K or 28.8K
- figure). In my case, my ISP insisted (during a short-lived
- troubleshooting session) that I use 19.2K with my 14.4. I did it by way
- of eliminating that as an alligator in the swamp at first, just to pacify
- the tech support geek who'd been programmed to follow that sequence and
- not take advantage of customer sentience ;^).
-
- (As it turns out, the problem I was having was neither a failure of
- ShapeShifter nor of my configuration, but it was a lingering reference to
- my previous ISP buried in a corrupt preferences file. Goddamn, SS is so
- good it even emulates Macintosh system _flaws_ perfectly!)
-
- Anyway, after we got it up and running, I proceeded to run the Newswatcher
- program to change the news server info. It proceeded to download the
- entire newsgroup list, a huge _text_ file. It took about 10 minutes,
- after which it crapped out because the list was so huge that Newswatcher
- ran out of memory.
-
- So I proceeded to tweak its memory setting and ran it again -- after
- bumping the computer-to-modem link back up to 38.4K (my normal and present
- setting). It loaded in _under_ 5 minutes with no problem.
-
- What happens is that the bits that come in at 28.8 kbps are _compressed_
- data that are uncompressed in the modem! As a result, if your serial link
- is only 28.8Kbps, data piles up in the modem and creates overruns.
- Compression ratios for text (which includes HTML) are normally 2:1, but
- can theoretically go up to 4:1. I have seen my 14.4 modem come perilously
- close to overruns even at 38.4K serial speed when receiving text. How do
- I know this? My incoming data LED (RD) flashes whenever data is being
- sent from the modem to the computer; if it is ON SOLID (as opposed to
- flickering) that means that the entire serial bandwidth is being used; if
- the compression got any better, there would be data overflow. Normally,
- when the compression ratio is not so good (as when receiving binary), the
- LED has quite a bit of flicker, since the serial line is idle about half
- the time since the data didn't compress much and comes out more or less
- around 16Kbps, which leaves about 22Kbps of unused bandwidth (the LED is
- out).
-
- If your RD LED is on solid, this is unquestionably part of the problem --
- you are experiencing data overruns. Check the "Stats" option under
- ConfigPPP to see what its says for "Hdw overruns".
-
- If having a faster serial setting is a problem, try the following:
-
- 1. Apparently, 57.6 is not a "standard" speed (I forget where I heard
- this); try 76.8 (that's what I would use with 28.8) or 38.4 (in a pinch;
- it will improve but not cure the overruns. Binary will be OK, but text
- compresses well and will overrun). Use a shorter serial cable , if it's
- any longer than 10 ft. or so. Try six feet. Ditch the switch box for
- now, if you have one.
-
- 2. Flow control is used between the computer and the modem to manage
- overrun; these are the CTS and RTS lines (Clear to Send and Ready to
- Send). You may have an iffy cable or slightly lame CIA chips or flow
- control chips (1488 and 1489). Pray that it's the latter if it's going to
- be hardware, unless they also did those SMT (stoopid) in the 1200.
-
- BTW: You said "MacTCP serial port" setting; I assume you meant
- ConfigPPP? The serial port speed setting is there.
-
- Good luck.
-
- Jim May
-